package com.bmd.backgroundmanger.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

/**
 * 题目选项类 - 简化版，仅用于JSON序列化
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "QuestionOption", description = "题目选项")
public class QuestionOption implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "选项标识(A,B,C,D...)")
    private String key;

    @Schema(description = "选项内容")
    private String content;

    @Schema(description = "是否为正确答案")
    private Boolean isCorrect;
} 